/**
 * creater:han.wen@dhc.com.cn
 * create time:2016-06-03 09:43:34
 * describe:图片过滤器
 */
APP.controller('ImageFilterController', ['$scope',
  function ($scope) {

    /***变量声明***/
    $scope.imgUrl = undefined;

    /**
     * 初始化函数
     */
    $scope.init = function () {
      $scope.imgUrl = {
        emptyUrl: '',
        realUrl: 'plus_logo.png'
      };
    };


    /*
     $scope.init();//如果页面缓存则用此方法初始化
     */
    $scope.$on('$ionicView.beforeEnter', function () {
      $scope.init();
    });
  }
]);
